package com.sto.stoapp.http.request;

import com.sto.stoapp.db.StoFilePreference;
import com.sto.stoapp.util.Helper;
import com.sto.stoapp.util.TraceUtil;

import android.content.Context;

/**
 * 系统更新（包含系统和软件版本）
 * 
 * @author Administrator
 * 
 */
public class SoftUpgradeRequest extends BaseRequest {

	public SoftUpgradeRequest(Context context) {
		tid = StoFilePreference.getInstance(context).getMachineCode();
		trace = TraceUtil.getTraceTimes();
		sessionId = StoFilePreference.getInstance(context).getSessionId();
		mty = "0858";
		opOrgCode = StoFilePreference.getInstance(context).getSiteCode();
		deviceType = "PDA";
		opTerminal = StoFilePreference.getInstance(context).getMachineCode();
		pdaType = Helper.getPDAType();
		osVersion = Helper.getAndroidOsVersion();
		softVersion = Helper.getVersionName(context);
		os = "android";
	}

	public String opOrgCode;
	public String deviceType;
	public String opTerminal;
	public String os;
	public String osVersion;
	public String softVersion;
	public String pdaType;

}
